package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司用户注册对象 register_comuser
 * 
 * @author ruoyi
 * @date 2024-07-23
 */
public class RegisterComuser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 该表的id */
    private Long id;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 公司名字 */
    @Excel(name = "公司名字")
    private String companyName;

    /** 账户状态（0未审核，1未通过，2通过） */
    @Excel(name = "账户状态", readConverterExp = "0=未审核，1未通过，2通过")
    private Long status;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phonenumber;

    /** 登录名 */
    @Excel(name = "登录名")
    private String loginName;

    /** 负责人 */
    @Excel(name = "负责人")
    private String responsiblePerson;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String email;

    /** 单位类型 */
    @Excel(name = "单位类型")
    private String unitType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setLoginName(String loginName) 
    {
        this.loginName = loginName;
    }

    public String getLoginName() 
    {
        return loginName;
    }
    public void setResponsiblePerson(String responsiblePerson) 
    {
        this.responsiblePerson = responsiblePerson;
    }

    public String getResponsiblePerson() 
    {
        return responsiblePerson;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setUnitType(String unitType) 
    {
        this.unitType = unitType;
    }

    public String getUnitType() 
    {
        return unitType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("password", getPassword())
            .append("companyName", getCompanyName())
            .append("status", getStatus())
            .append("phonenumber", getPhonenumber())
            .append("loginName", getLoginName())
            .append("responsiblePerson", getResponsiblePerson())
            .append("email", getEmail())
            .append("unitType", getUnitType())
            .toString();
    }
}
